package com.staff.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import com.staff.entity.StaffArchive;
import com.staff.entity.dto.StaffArchiveQueryDTO;

public interface IStaffArchiveService {
	public void saveOrUpdate(StaffArchive staffArchive);
	public void delete(StaffArchive staffArchive);
	public StaffArchive findOne(Long id);
	public List<StaffArchive> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<StaffArchiveQueryDTO> findAll(Specification<StaffArchive> spec, Pageable pageable);
}
